#ifndef _SEGMENT_H
#define _SEGMENT_H

#include "Point.h"
#include "Figure.h"

class Segment: public Figure{

	public:
		
		Segment();

		Segment(std::string id, Point x1,Point x2,Color *borderColor);

		Segment(std::string id, Point x1,Point x2,Texture *texture);

		void draw();

		std::string getCreationLog();

		~Segment();

	private:

		Point x1;

		Point x2;

};

#endif